package spring.lottery.dao.mapper;

import org.apache.ibatis.annotations.Mapper;
import spring.lottery.dao.dataObject.PrizeDO;
import spring.lottery.server.dto.PrizeDto;

import java.util.List;

@Mapper
public interface PrizeMapper {

    int insert(PrizeDO prize);

    List<PrizeDO> selectPrizeList(Integer offset, Integer pageSize);

    Integer selectCount();

    List<PrizeDO> selectByIds(List<Long> ids);

    PrizeDO selectById(Long prizeId);
}
